<?php

namespace app\enumerations;

class OrderStatusEnum {

     use EnumTrait; 

     // 订单状态; 
     const DICTIONARY_CODE = "ORDER_STATUS"; 

      // 待发货; 
     const WAITDELIVERGOODS = 0; 
     const WAITDELIVERGOODS_CODE = "WAITDELIVERGOODS"; 
     const WAITDELIVERGOODS_DESC = "待发货"; 

      // 配送中; 
     const DISTRIBUTION = 1; 
     const DISTRIBUTION_CODE = "DISTRIBUTION"; 
     const DISTRIBUTION_DESC = "配送中"; 

      // 确认收货; 
     const CONFIRMCOLLECTGOODS = 2; 
     const CONFIRMCOLLECTGOODS_CODE = "CONFIRMCOLLECTGOODS"; 
     const CONFIRMCOLLECTGOODS_DESC = "确认收货"; 

      // 用户取消; 
     const CANCEL = -1; 
     const CANCEL_CODE = "CANCEL"; 
     const CANCEL_DESC = "用户取消"; 

      // 未付款; 
     const UNPAID = -2; 
     const UNPAID_CODE = "UNPAID"; 
     const UNPAID_DESC = "未付款"; 

      // 已支付，待成团; 
     const PAID = -4; 
     const PAID_CODE = "PAID"; 
     const PAID_DESC = "已支付，待成团"; 

      // 拼团失败退款; 
     const REFUND = -5; 
     const REFUND_CODE = "REFUND"; 
     const REFUND_DESC = "拼团失败退款"; 

      // 超时失效; 
     const OVERTIME = -6; 
     const OVERTIME_CODE = "OVERTIME"; 
     const OVERTIME_DESC = "超时失效"; 

}